package org.jeecg.common.modules.dic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: dic_city
 * @Author: jeecg-boot
 * @Date:   2020-08-15
 * @Version: V1.0
 */
@Data
@TableName("dic_city")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dic_city对象", description="dic_city")
public class DicCity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**parentId*/
	@Excel(name = "parentId", width = 15)
    @ApiModelProperty(value = "parentId")
    private Integer parentId;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
    private String name;
	/**level*/
	@Excel(name = "level", width = 15)
    @ApiModelProperty(value = "level")
    private Integer level;
	/**状态  1已开通 0未开通 2即将开通*/
	@Excel(name = "状态  1已开通 0未开通 2即将开通", width = 15)
    @ApiModelProperty(value = "状态  1已开通 0未开通 2即将开通")
    private Integer status;
}
